package com.qf.service.impl;

import com.qf.mapper.DtsUserMapper;
import com.qf.pojo.DtsUser;
import com.qf.service.DtsUserService;
import com.qf.vo.DayStatis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lixu
 */
@Service
public class DtsUserServiceImpl implements DtsUserService {
    @Autowired
    private DtsUserMapper dtsUserMapper;
    @Override
    public Long findCount() {
        return dtsUserMapper.selectCount(null);
    }

    @Override
    public List<DayStatis> findUserDayNumList(Integer statisDaysRang) {
        return dtsUserMapper.findUserDayNumList(statisDaysRang);
    }
}
